package com.niit.session10;

//程序员有姓名、性别、年龄、工资、学历五个属性和打代码一个成员方法。
public class Programer {
	private String name;
	private String gender;
	private int age;
	private double money;
	private String record;

	public void coding() {
		System.out.println(name + "开始打代码了...劈里啪啦...");
	}

	public Programer() {
		super();
	}

	public Programer(String name, String gender, int age, double money, String record) {
		super();
		this.name = name;
		this.gender = gender;
		this.age = age;
		this.money = money;
		this.record = record;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public String getRecord() {
		return record;
	}

	public void setRecord(String record) {
		this.record = record;
	}

}
